package com.ecoolex.chinadutyfree.retailer.ws;

import com.ecoolex.chinadutyfree.retailer.entity.Store;
import com.ecoolex.chinadutyfree.retailer.entity.UserExternalInfo;
import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;

public interface UnionPayStoreService {
	
	Store get(String storeId);
	
	Pagination<Store> queryStore(Page page);
	
	Store addStore(Store record,String createUser) throws BizException;
	
	Store editStore(Store record,String updateUser) throws BizException;
	
	Store editStorePartInfo(Store record,String updateUser) throws BizException;

	Boolean existByExternalUserId(String externalUserId);
	
	UserExternalInfo getByExternalUserId(String externalUserId);
	
	UserExternalInfo addUserExternalInfo(Integer userId,String externalUserId,String createUser) throws BizException;
}
